﻿@model RegisterViewModel
@{
    Title = "Register";
    //Layout = Constants.SiteLayoutName;
    Layout = "_LoginLayout";
}

@*<h2>@_T[ViewData["Title"].ToString()]</h2>*@

<div class="row" style="max-width:800px; margin:0 auto;">
    <div  style="width:300px; margin:0 auto;">
        <form asp-route-returnUrl="@ViewData["ReturnUrl"]" method="post">
            <h4>@_T["Create a new account."]</h4>
            <hr />
            <div asp-validation-summary="All" class="text-danger"></div>
            <div class="form-group">
                <label asp-for="Email"></label>
                <input asp-for="Email" class="form-control" />
                <span asp-validation-for="Email" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="Password"></label>
                <input asp-for="Password" class="form-control" />
                <span asp-validation-for="Password" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="ConfirmPassword"></label>
                <input asp-for="ConfirmPassword" class="form-control" />
                <span asp-validation-for="ConfirmPassword" class="text-danger"></span>
            </div>
            <div class="text-center">
                <a href="/" class="btn btn-default">@_T["Back"]</a>
                <button type="submit" class="btn btn-primary">@_T["Register"]</button>
            </div>
        </form>
    </div>
</div>

@section Scripts {
    @await Html.PartialAsync("_ValidationScriptsPartial")
}
